﻿using IntelligentAgriculture.Contracts.Dto.Input.EarTagInput;
using IntelligentAgriculture.Contracts.Dto.Input.ManageInput;
using IntelligentAgriculture.Contracts.Dto.Output.EarTagOutput;
using IntelligentAgriculture.Contracts.Dto.Output.ManageOutput;
using IntelligentAgriculture.Contracts.Dto.Output.PageOutput;
using IntelligentAgriculture.Domain.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IntelligentAgriculture.Contracts.Interface.EarTagService
{
    public interface IEarTageService
    {
        //Task<int> Add(EarTagsInput entity);

       Task<PagesOutput<EarTageShowsOutPut>> GetShow(EarTageShowInput input);

        Task<int> Add(Eartag entity);

        Task<int> Delete(int id);

        Task<int> DeleteRange(IEnumerable<int> ids);
        /// <summary>
        /// 显示未使用的耳标
        /// </summary>
        /// <returns></returns>
        Task<IQueryable<Eartag>> ShowStateEartag();

        Task<int> UpateEartag(Eartag entity);


        Task<EarTageShowsOutPut> Find(int id);




	}
}
